<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
  Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
	
	<h:panelGrid columns="8" style="margin-bottom:1px" cellpadding="5">
		<h:outputText value="Tipo de controlador:" />
		<p:selectOneMenu effect="none" value="#{experimentMBean.experiment.pidController.type}">
			<f:selectItem itemValue="-1" itemLabel="Selecione..." />
			<f:selectItem itemValue="0" itemLabel="P" />
			<f:selectItem itemValue="1" itemLabel="PI" />
			<f:selectItem itemValue="2" itemLabel="PD" />
			<f:selectItem itemValue="3" itemLabel="PID" />
		</p:selectOneMenu>
		<h:outputText value="Kp:" />
		<p:inputText value="#{experimentMBean.experiment.pidController.kp}" size="4"
			label="Kp" />
		<h:outputText value="Ki:" />
		<p:inputText value="#{experimentMBean.experiment.pidController.ki}" size="4"
			label="Ki" />
		<h:outputText value="Kd:" />
		<p:inputText value="#{experimentMBean.experiment.pidController.kd}" size="4"
			label="Kd" />
	</h:panelGrid>
</ui:composition>